import request from "@/utils/request";

class GamesAPI {
  static add(data) {
    return request({
        url: "/api/admin/adjustments",
        method: "POST",
        data
      });
  }
  /*     修改    */
  static put (data) {
    return request({
      url: `/api/admin/adjustments`,
      method: "PUT",
      data
    });
  }

  /*     修改    */
  static post (data) {
    return request({
      url: `/api/admin/adjustments`,
      method: "POST",
      data
    });
  }
}
export default GamesAPI;